package com.ruoyi.web.sso.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备地址信息对象 push_address
 * 
 * @author ruoyi
 * @date 2022-02-23
 */
public class PushAddress extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String id;

    /** appId */
    @Excel(name = "appId")
    private String appId;

    /** appKey */
    @Excel(name = "appKey")
    private String appKey;

    /** masterSecret */
    @Excel(name = "masterSecret")
    private String masterSecret;

    /** url */
    @Excel(name = "url")
    private String url;

    /** APP编码 */
    @Excel(name = "APP编码")
    private String code;

    /** 状态0正常 */
    @Excel(name = "状态0正常")
    private String states;

    /** 类型 */
    @Excel(name = "类型")
    private String type;

    /** 是否删除 0：否，1是 */
    @Excel(name = "是否删除 0：否，1是")
    private String deleted;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setAppId(String appId) 
    {
        this.appId = appId;
    }

    public String getAppId() 
    {
        return appId;
    }
    public void setAppKey(String appKey) 
    {
        this.appKey = appKey;
    }

    public String getAppKey() 
    {
        return appKey;
    }
    public void setMasterSecret(String masterSecret) 
    {
        this.masterSecret = masterSecret;
    }

    public String getMasterSecret() 
    {
        return masterSecret;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setStates(String states) 
    {
        this.states = states;
    }

    public String getStates() 
    {
        return states;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setDeleted(String deleted) 
    {
        this.deleted = deleted;
    }

    public String getDeleted() 
    {
        return deleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("appId", getAppId())
            .append("appKey", getAppKey())
            .append("masterSecret", getMasterSecret())
            .append("url", getUrl())
            .append("code", getCode())
            .append("states", getStates())
            .append("type", getType())
            .append("deleted", getDeleted())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
